#pragma once
#include "game.h"
#include "BrickList.h"
#include "QuadTree.h"
#include <vector>
#include "Mario.h"
#include "Gomba.h"


class CMarioGame :
	public Game
{
protected:
	CMario* mario;
	QuadTree tree;

	CScreen* view;

	MovingObject* brick1;

	Gomba* gomba;
	Gomba* gomba2;

public:
	CMarioGame(HINSTANCE hInstance, LPCSTR GameName, LPSTR lpCmdLine, int nShowCmd, int FPS, int ScreenWidth, int ScreenHeight);
	~CMarioGame(void);

	void GameUpdate();
	void RenderFrame();

	void LoadResource();
	void OnKeyDown(int KeyCode);
};

